package com.gxuwz.lhleavesys.dao;
import com.gxuwz.lhleavesys.entity.Student;
import java.sql.SQLException;
import java.util.List;

public interface StudentDao {

    boolean insert(Student student) throws SQLException;

    public boolean delete(String userid) throws SQLException;

    List<Student> query(Student student) throws SQLException;

    Student findByName(String name);

    Student findstuNoBystuName(String name) throws SQLException;

    List<Student> getStudentByinstructor(String collegeID);

    public boolean update(Student student, String id)throws SQLException;

    public Student findStudentBystuID(String id) throws SQLException;
}
